package com.vincent.kdp.adapter;

import android.view.ViewGroup;
import android.widget.TextView;

import com.jude.easyrecyclerview.adapter.BaseViewHolder;
import com.vincent.kdp.R;
import com.vincent.kdp.ui.bean.response.Counter;

/**
 * Created by Administrator on 2017/8/4 0004.
 */

public class CounterViewHolder extends BaseViewHolder<Counter> {

    TextView name;


    public CounterViewHolder(ViewGroup parent) {
        super(parent, R.layout.adpter_depart);

        name = $(R.id.depart_name);


    }

    @Override
    public void setData(Counter data) {
        name.setText(data.getCounterName());
    }

}
